c语言结构体如何算平均值,总成绩,最高成绩,最低成绩17364917833?_百度知...答:定义结构体类型:codetypedef struct { int score; } Student;创建结构体数组并初始化成绩:codeStudent students[10]; // 假设有10个学生 int scores[] = {17, 36, 49, 17, 83, 3, 3, 3}; // 假设成绩数组为 {17, 36, 49, 17, 83, 3, 3, 3} for (int i = 0; i < 8; ...